%assert
Defined in:   assert.h
Prototype:    assert(int expression)
Summary:      if expression is FALSE, exits with diagnostic message

%isalnum
Defined in:   ctype.h
Prototype:    int isalnum(int c)
Summary:      returns non-0 iff c is alphabetic or numeric

%isalpha
Defined in:   ctype.h
Prototype:    int isalpha(int c)
Summary:      returns non-0 iff c is alphabetic

%iscntrl
Defined in:   ctype.h
Prototype:    int iscntrl(int c)
Summary:      returns non-0 iff c is a control character
              this means (c < ' ') || (c > '~') in the ASCII locale

%isdigit
Defined in:   ctype.h
Prototype:    int isdigit(int c)
Summary:      returns non-0 iff c is a decimal digit

%isgraph
Defined in:   ctype.h
Prototype:    int isgraph(int c)
Summary:      returns non-0 iff c is any printing character other than ' '

%islower
Defined in:   ctype.h
Prototype:    int islower(int c)
Summary:      returns non-0 iff c is a lower-case letter

%isprint
Defined in:   ctype.h
Prototype:    int isprint(int c)
Summary:      returns non-0 iff c is a printing character
              this means 0x20 (space) -> 0x7E (tilde) in the ASCII locale

%isprint
Defined in:   ctype.h
Prototype:    int isprint(int c)
Summary:      returns non-0 iff c is a printing character
              this means 0x20 (space) -> 0x7E (tilde) in the ASCII locale

%ispunct
Defined in:   ctype.h
Prototype:    int ispunct(int c)
Summary:      returns non-0 iff c is a non-space, non-alpha-numeric, 
              printing character

%isspace
Defined in:   ctype.h
Prototype:    int isspace(int c)
Summary:      returns non-0 iff c is a white-space char
              ie ' ', '\f', '\n', '\r', '\t', '\v'.

%isupper
Defined in:   ctype.h
Prototype:    int isupper(int c)
Summary:      returns non-0 iff c is an upper-case letter

%isxdigit
Defined in:   ctype.h
Prototype:    int isxdigit(int c)
Summary:      returns non-0 iff c is a digit, in 'a'..'f', or in 'A'..'F'

%tolower
Defined in:   ctype.h
Prototype:    int tolower(int c)
Summary:      if c is an upper-case letter then return the corresponding
              lower-case letter, otherwise return c.

%toupper
Defined in:   ctype.h
Prototype:    int toupper(int c)
Summary:      if c is a lower-case letter then return the corresponding
              upper-case letter, otherwise return c.

%errno
Defined in:   error.h
Declaration:  extern volatile int errno
Summary:      Set by several library functions for error conditions

%EDOM
Defined in:   error.h
Definition:   #define EDOM   1
Summary:      Value taken by errno to indicate domain error

%ERANGE              
Defined in:   error.h
Definition:   #define ERANGE   2
Summary:      Value taken by errno to indicate range error

%ESIGNUM                
Defined in:   error.h
Definition:   #define ESIGNUM   3
Summary:      Value taken by errno to indicate signal

%FLT_RADIX
Defined in:   float.h
Definition:   #define FLT_RADIX     2
Summary:      radix of exponent representation

%FLT_ROUNDS
Defined in:   float.h
Definition:   #define FLT_ROUNDS    1
Summary:      The rounding mode for floating-point addition (to nearest).

%FLT_MANT_DIG
Defined in:   float.h
Definition:   #define FLT_MANT_DIG        24
Summary:      number of base-FLT_RADIX digits in the floating point mantissa
              for floats

%DBL_MANT_DIG
Defined in:   float.h
Definition:   #define DBL_MANT_DIG        53
Summary:      number of base-FLT_RADIX digits in the floating point mantissa
              for doubles

%LDBL_MANT_DIG
Defined in:   float.h
Definition:   #define LDBL_MANT_DIG        53
Summary:      number of base-FLT_RADIX digits in the floating point mantissa
              for long doubles

%FLT_DIG
Defined in:   float.h
Definition:   #define FLT_DIG      6
Summary:      number of decimal digits of precision for floats

%DBL_DIG
Defined in:   float.h
Definition:   #define DBL_DIG      15
Summary:      number of decimal digits of precision for doubles

%LDBL_DIG
Defined in:   float.h
Definition:   #define LDBL_DIG      15
Summary:      number of decimal digits of precision for long doubles

%FLT_MIN_EXP
Defined in:   float.h
Definition:   #define FLT_MIN_EXP  (-125)
Summary:      minimum negative integer such that FLT_RADIX raised to that 
              power minus 1 is a normalised floating-point number, for floats

%DBL_MIN_EXP
Defined in:   float.h
Definition:   #define DBL_MIN_EXP  (-1021)
Summary:      minimum negative integer such that FLT_RADIX raised to that 
              power minus 1 is a normalised floating-point number, for 
              doubles

%LDBL_MIN_EXP
Defined in:   float.h
Definition:   #define LDBL_MIN_EXP  (-1021)
Summary:      minimum negative integer such that FLT_RADIX raised to that 
              power minus 1 is a normalised floating-point number, for long 
              doubles

%FLT_MIN_10_EXP
Defined in:   float.h
Definition:   #define FLT_MIN_10_EXP  (-37)
Summary:      minimum negative integer such that 10 raised to that 
              power minus 1 is a normalised floating-point number, for floats

%DBL_MIN_10_EXP
Defined in:   float.h
Definition:   #define DBL_MIN_10_EXP  (-307)
Summary:      minimum negative integer such that 10 raised to that 
              power minus 1 is a normalised floating-point number, for 
              doubles

%LDBL_MIN_10_EXP
Defined in:   float.h
Definition:   #define LDBL_MIN_10_EXP  (-307)
Summary:      minimum negative integer such that 10 raised to that 
              power minus 1 is a normalised floating-point number, for long 
              doubles

%FLT_MAX_EXP
Defined in:   float.h
Definition:   #define FLT_MAX_EXP  (128)
Summary:      maximum integer such that FLT_RADIX raised to that power 
              minus 1 is a representable finite floating-point number, for 
              floats

%DBL_MAX_EXP
Defined in:   float.h
Definition:   #define DBL_MAX_EXP  (1024)
Summary:      maximum integer such that FLT_RADIX raised to that power 
              minus 1 is a representable finite floating-point number, for 
              doubles

%LDBL_MAX_EXP
Defined in:   float.h
Definition:   #define LDBL_MAX_EXP  (1024)
Summary:      maximum integer such that FLT_RADIX raised to that power 
              minus 1 is a representable finite floating-point number, for 
              long doubles

%FLT_MAX_10_EXP
Defined in:   float.h
Definition:   #define FLT_MAX_10_EXP  (38)
Summary:      maximum integer such that 10 raised to that power is in the 
              range of representable finite floating-point numbers, for 
              floats

%DBL_MAX_10_EXP
Defined in:   float.h
Definition:   #define DBL_MAX_10_EXP  (308)
Summary:      maximum integer such that 10 raised to that power is in the 
              range of representable finite floating-point numbers, for 
              doubles

%LDBL_MAX_10_EXP
Defined in:   float.h
Definition:   #define LDBL_MAX_10_EXP  (308)
Summary:      maximum integer such that 10 raised to that power is in the 
              range of representable finite floating-point numbers, for long 
              doubles

%FLT_MAX
Defined in:   float.h
Definition:   #define FLT_MAX  3.40282347e+38F
Summary:      maximum representable finite floating-point number, for floats

%DBL_MAX
Defined in:   float.h
Definition:   #define DBL_MAX  1.79769313486231571e+308
Summary:      maximum representable finite floating-point number, for doubles

%LDBL_MAX
Defined in:   float.h
Definition:   #define LDBL_MAX 1.79769313486231571e+308L
Summary:      maximum representable finite floating-point number, for long 
              doubles

%FLT_EPSILON
Defined in:   float.h
Definition:   #define FLT_EPSILON         1.19209290e-7F
Summary:      minimum positive floating point number x such that 
              1.0 + x != 1.0 for floats

%DBL_EPSILON
Defined in:   float.h
Definition:   #define DBL_EPSILON         2.2204460492503131e-16
Summary:      minimum positive floating point number x such that 
              1.0 + x != 1.0 for doubles

%LDBL_EPSILON
Defined in:   float.h
Definition:   #define LDBL_EPSILON        2.2204460492503131e-16L
Summary:      minimum positive floating point number x such that 
              1.0 + x != 1.0 for long doubles
                             
%FLT_MIN
Defined in:   float.h
Definition:   #define FLT_MIN  1.17549435e-38F
Summary:      minimum normalised positive floating-point number for floats

%DBL_MIN
Defined in:   float.h
Definition:   #define DBL_MIN  2.22507385850720138e-308
Summary:      minimum normalised positive floating-point number for doubles

%LDBL_MIN
Defined in:   float.h
Definition:   #define LDBL_MIN 2.22507385850720138e-308L
Summary:      minimum normalised positive floating-point number for long 
              doubles

%CHAR_BIT
Defined in:   limits.h
Definition:   #define CHAR_BIT 8
Summary:      max number of bits for smallest object that is not a bit-field 
              (byte)

%SCHAR_MIN
Defined in:   limits.h
Definition:   #define SCHAR_MIN (-128)
Summary:      mimimum value for an object of type signed char

%SCHAR_MAX
Defined in:   limits.h
Definition:   #define SCHAR_MAX 127
Summary:      maximum value for an object of type signed char

%UCHAR_MAX
Defined in:   limits.h
Definition:   #define UCHAR_MAX 255
Summary:      maximum value for an object of type unsigned char

%CHAR_MIN
Defined in:   limits.h
Definition:   #define CHAR_MIN 0
Summary:      minimum value for an object of type char

%CHAR_MAX
Defined in:   limits.h
Definition:   #define CHAR_MAX 255
Summary:      maximum value for an object of type char

%MB_LEN_MAX
Defined in:   limits.h
Definition:   #define MB_LEN_MAX 1
Summary:      maximum number of bytes in a multibyte character,
              for any supported locale

%SHRT_MIN
Defined in:   limits.h
Definition:   #define SHRT_MIN  (-0x8000)
Summary:      minimum value for an object of type short int

%SHRT_MAX
Defined in:   limits.h
Definition:   #define SHRT_MAX  0x7fff
Summary:      maximum value for an object of type short int

%USHRT_MAX
Defined in:   limits.h
Definition:   #define USHRT_MAX 65535U
Summary:      maximum value for an object of type unsigned short int

%INT_MIN
Defined in:   limits.h
Definition:   #define INT_MIN   (~0x7fffffff)
Summary:      minimum value for an object of type int

%INT_MAX
Defined in:   limits.h
Definition:   #define INT_MAX   0x7fffffff
Summary:      maximum value for an object of type int

%UINT_MAX
Defined in:   limits.h
Definition:   #define UINT_MAX  0xffffffff
Summary:      maximum value for an object of type unsigned int

%LONG_MIN
Defined in:   limits.h
Definition:   #define LONG_MIN  (~0x7fffffff)
Summary:      minimum value for an object of type long int

%LONG_MAX
Defined in:   limits.h
Definition:   #define LONG_MAX  0x7fffffff
Summary:      maximum value for an object of type long int

%ULONG_MAX
Defined in:   limits.h
Definition:   #define ULONG_MAX 0xffffffffU
Summary:      maximum value for an object of type unsigned long int

%LC_COLLATE
Defined in:   locale.h
Definition:   #define LC_COLLATE  1
Summary:      bit flag for category parameter to setlocale
              affects the behaviour of the strcoll function

%LC_CTYPE
Defined in:   locale.h
Definition:   #define LC_CTYPE    2
Summary:      bit flag for category parameter to setlocale
              affects the behaviour of the character handling functions

%LC_MONETARY
Defined in:   locale.h
Definition:   #define LC_MONETARY 4
Summary:      bit flag for category parameter to setlocale, affects the 
              monetary formatting information returned by the localeconv 
              function

%LC_NUMERIC
Defined in:   locale.h
Definition:   #define LC_NUMERIC  8
Summary:      bit flag for category parameter to setlocale, affects the 
              decimal-point character for the formatted input/output and 
              string conversion functions

%LC_TIME
Defined in:   locale.h
Definition:   #define LC_TIME    16
Summary:      bit flag for category parameter to setlocale
              affects the behaviour of the strftime function

%LC_ALL
Defined in:   locale.h
Definition:   #define LC_ALL     31
Summary:      bit flag for category parameter to setlocale
              affects the entire locale

%setlocale
Defined in:   locale.h
Prototype:    extern char *setlocale(int /*category*/, 
                                     const char * /*locale*/)
Summary:      Selects the appropriate piece of the program's locale as 
              specified by the category and locale arguments

%localeconv
Defined in:   locale.h
Prototype:    extern struct lconv *localeconv(void)
Summary:      Returns pointer to struct with object set up appropriately for
              current locale for formatting numeric quantities

%HUGE_VAL
Defined in:   math.h
Summary:      large double constant used to indicate error

%acos
Defined in:   math.h
Prototype:    extern double acos(double /*x*/)
Summary:      computes the principal value of the arc cosine of x in the 
              range 0 to Pi

%asin
Defined in:   math.h
Prototype:    extern double asin(double /*x*/)
Summary:      computes the principal value of the arc sine of x in the range 
              -Pi/2 to Pi/2

%atan
Defined in:   math.h
Prototype:    extern double atan(double /*x*/)
Summary:      computes the principal value of the arc tangent of x in the 
              range -Pi/2 to Pi/2

%atan2
Defined in:   math.h
Prototype:    extern double atan2(double /*x*/, double /*y*/)
Summary:      computes the principal value of the arc tangent of y/x in the 
              range -Pi to Pi
              using the signs of both arguments to determine the quadrant of 
              the return value

%cos
Defined in:   math.h
Prototype:    extern double cos(double /*x*/)
Summary:      computes the cosine of x (measured in radians)

%sin
Defined in:   math.h
Prototype:    extern double sin(double /*x*/)
Summary:      computes the sine of x (measured in radians)

%tan
Defined in:   math.h
Prototype:    extern double tan(double /*x*/)
Summary:      computes the tangent of x (measured in radians)

%cosh
Defined in:   math.h
Prototype:    extern double cosh(double /*x*/)
Summary:      computes the hyperbolic cosine of x

%sinh
Defined in:   math.h
Prototype:    extern double sinh(double /*x*/)
Summary:      computes the hyperbolic sine of x

%tanh
Defined in:   math.h
Prototype:    extern double tanh(double /*x*/)
Summary:      computes the hyperbolic tangent of x

%exp
Defined in:   math.h
Prototype:    extern double exp(double /*x*/)
Summary:      computes the exponential function of x

%frexp
Defined in:   math.h
Prototype:    extern double frexp(double /*x*/, int * /*exp*/)
Summary:      breaks a floating-point number into a normalised fraction and 
              an integral power of 2 (stored in the int object exp)

%ldexp
Defined in:   math.h
Prototype:    extern double ldexp(double /*x*/, int /*exp*/)
Summary:      multiplies a floating-point number by an integral power of 2

%log
Defined in:   math.h
Prototype:    extern double log(double /*x*/)
Summary:      computes the natural logarithm of x

%log10
Defined in:   math.h
Prototype:    extern double log10(double /*x*/)
Summary:      computes the base-ten logarithm of x

%modf
Defined in:   math.h
Prototype:    extern double modf(double /*value*/, double * /*iptr*/)
Summary:      breaks the argument value into integral and fraction parts, 
              integral part in iptr

%pow
Defined in:   math.h
Prototype:    extern double pow(double /*x*/, double /*y*/)
Summary:      computes x raised to the power of y

%sqrt
Defined in:   math.h
Prototype:    extern double sqrt(double /*x*/)
Summary:      computes the non-negative square root of x

%ceil
Defined in:   math.h
Prototype:    extern double ceil(double /*x*/)
Summary:      computes the smallest integer not less than x

%fabs
Defined in:   math.h
Prototype:    extern double fabs(double /*x*/)
Summary:      computes the absolute value of the floating-point number x

%floor
Defined in:   math.h
Prototype:    extern double floor(double /*d*/)
Summary:      computes the largest integer not greater than x

%fmod
Defined in:   math.h
Prototype:    extern double fmod(double /*x*/, double /*y*/)
Summary:      computes the floating-point remainder of x/y

%setjmp
Defined in:   setjmp.h
Prototype:    extern int setjmp(jmp_buf /*env*/)
Summary:      saves its calling environment in its jmp_buf argument, for 
              later use by the longjmp function

%longjmp
Defined in:   setjmp.h
Prototype:    extern void longjmp(jmp_buf /*env*/, int /*val*/)
Summary:      restores the environment saved by the most recent call to 
              setjmp in the same invocation of the program, with the 
              corresponding jmp_buf argument

%SIG_DFL
Defined in:   signal.h
Summary:      default action on signal raise

%SIG_ERR
Defined in:   signal.h
Summary:      returned by signal() to indicate error

%SIG_IGN
Defined in:   signal.h
Summary:      ignore a particular signal
 
%SIGABRT
Defined in:   signal.h
Definition:   #define SIGABRT 1
Summary:      signal raised on abort

%SIGFPE
Defined in:   signal.h
Definition:   #define SIGFPE  2
Summary:      signal raised on arithmetic exception
              under RISC OS, this means Divide by Zero, or illegal FP op or 
              overflow  

%SIGILL
Defined in:   signal.h
Definition:   #define SIGILL  3
Summary:      signal raised on illegal instruction 
              under RISC OS, this means ARM exceptions Illegal Instruction, 
              Prefetch Abort and Branch Through Zero

%SIGINT
Defined in:   signal.h
Definition:   #define SIGINT  4
Summary:      signal raised on attention request from user
              under RISC OS, typically ESCAPE has been pressed

%SIGSEGV
Defined in:   signal.h
Definition:   #define SIGSEGV 5
Summary:      signal raised on bad memory access
              under RISC OS, this means ARM exceptions Data Abort and 
              Address Exception or Read/Write memory error

%SIGTERM
Defined in:   signal.h
Definition:   #define SIGTERM 6
Summary:      signal raised on termination request

%SIGSTAK
Defined in:   signal.h
Definition:   #define SIGSTAK 7
Summary:      signal raised on stack overflow 

%SIGUSR1
Defined in:   signal.h
Definition:   #define SIGUSR1 8
Summary:      user-defined signal 1 
 
%SIGUSR2
Defined in:   signal.h
Definition:   #define SIGUSR1 9
Summary:      user-defined signal 2

%SIGOSERROR
Defined in:   signal.h
Definition:   #define SIGOSERROR 10
Summary:

%signal
Defined in:   signal.h
Prototype:    extern void (*signal (int /*sig*/, 
                           void (* /*func*/ )(int)))(int)
Summary:      choose one of three ways to handle given signal
              SIG_IGN, SIG_DFL or your own function

%raise
Defined in:   signal.h
Prototype:    extern int raise(int /*sig*/)
Summary:      sends the signal sig to the executing program

%va_start
Defined in:   stdarg.h
Definition:   va_start(ap, parmN)  where ap is of type va_list, and parmN is 
              rightmost 'normal' parameter
Summary:      start access to variable parameter list

%va_arg
Defined in:   stdarg.h
Definition:   va_arg(ap, type)  where ap is of type va_list, and type is 
              type of this argument in the list
Summary:      gets next parameter in variable parameter list (after va_start)

%va_end
Defined in:   stdarg.h
Definition:   va_end(ap)  where ap is of type va_list
Summary:      allow normal return from function having variable parameter 
              list

%ptrdiff_t
Defined in:   stddef.h
Definition:   typedef int ptrdiff_t
Summary:      the signed integral type of the result of subtracting two 
              pointers

%size_t
Defined in:   stddef.h
Definition:   typedef unsigned int size_t
Summary:      the unsigned integral type of the result of the sizeof operator

%wchar_t
Defined in:   stddef.h
Definition:   typedef int wchar_t
Summary:      An integral type whose range of values can represent distinct 
              codes for all members of the largest extended character set 
              specified among the supported locales

%offsetof
Defined in:   stddef.h
Definition:   offsetof(type, member)
Summary:      gives the offset in bytes, from the beginning of a structure
              designated by type, of the member designated by the identifier
 
%fpos_t
Defined in:   stdio.h
Summary:      type used to describe position in file

%FILE
Defined in:   stdio.h
Summary:      type used to describe a stream

%BUFSIZ
Defined in:   stdio.h
Definition:   #define BUFSIZ   (4096)
Summary:      system buffer size (as used by setbuf)

%EOF
Defined in:   stdio.h
Definition:   #define EOF      (-1)
Summary:      negative integral constant, indicates end-of-file

%FILENAME_MAX
Defined in:   stdio.h
Definition:   #define FILENAME_MAX 80
Summary:      an integral constant expression that is the size of an array 
              of char large enough to hold the longest filename string

%L_tmpnam
Defined in:   stdio.h
Definition:   #define L_tmpnam 80
Summary:      an integral constant expression that is the size of an array 
              of char large enough to hold a temporary file name string 
              generated by the tmpnam function

%TMP_MAX
Defined in:   stdio.h
Definition:   #define TMP_MAX 1000000000
Summary:      an integral constant expression that is the minimum number of 
              unique file names that shall be generated by the tmpnam 
              function

%stdin
Defined in:   stdio.h
Definition:   #define stdin  (&__iob[0])
Summary:      standard input stream pointer

%stdout
Defined in:   stdio.h
Definition:   #define stdout  (&__iob[1])
Summary:      standard output stream pointer

%stderr
Defined in:   stdio.h
Definition:   #define stderr  (&__iob[2])
Summary:      standard error stream pointer

%remove
Defined in:   stdio.h
Prototype:    extern int remove(const char * /*filename*/)
Summary:      causes the file whose name is the string pointed to by 
              filename to be removed. Subsequent attempts to open the file 
              will fail, unless it is created anew. If the file is open, the 
              behaviour of the remove function is implementation-defined 
              (under RISCOS/Arthur/Brazil the operation fails).
              
%rename
Defined in:   stdio.h
Prototype:    extern int rename(const char * /*old*/, const char * /*new*/)
Summary:      causes the file whose name is the string pointed to by old to 
              be henceforth known by the name given by the string pointed to 
              by new. The file named old is effectively removed. If a file 
              named by the string pointed to by new exists prior to the call 
              of the rename function, the behaviour is implementation-
              defined (under RISCOS/Arthur/Brazil, the operation fails).
              
%tmpfile
Defined in:   stdio.h
Prototype:    extern FILE *tmpfile(void)
Summary:      creates a temporary binary file that will be automatically 
              removed when it is closed or at program termination. The file 
              is opened for update.
              
%tmpnam
Defined in:   stdio.h
Prototype:    extern char *tmpnam(char * /*s*/)
Summary:      generates a string that is not the same as the name of an 
              existing file.
              The tmpnam function generates a different string each time it 
              is called, up to TMP_MAX times. If it is called more than 
              TMP_MAX times, the behaviour is implementation-defined (under 
              RISCOS/Arthur/Brazil the algorithm for the name generation 
              works just as well after tmpnam has been called more than 
              TMP_MAX times as before; a name clash is impossible in any 
              single half year period).
              
%fclose
Defined in:   stdio.h
Prototype:    extern int fclose(FILE * /*stream*/)
Summary:      causes the stream pointed to by stream to be flushed and the 
              associated file to be closed. Any unwritten buffered data for 
              the stream are delivered to the host environment to be written 
              to the file; any unread buffered data are discarded. The 
              stream is disassociated from the file.  If the associated 
              buffer was automatically allocated, it is deallocated.
              
%fflush
Defined in:   stdio.h
Prototype:    extern int fflush(FILE * /*stream*/)
Summary:      If the stream points to an output or update stream in which 
              the most recent operation was output, the fflush function 
              causes any unwritten data for that stream to be delivered to 
              the host environment to be written to the file. If the stream 
              points to an input or update stream, the fflush function 
              undoes the effect of any preceding ungetc operation on the 
              stream.
              
%fopen
Defined in:   stdio.h
Prototype:    extern FILE *fopen(const char * /*filename*/, 
                                 const char * /*mode*/)
Summary:      opens the file whose name is the string pointed to by 
              filename, and associates a stream with it.
              The argument mode points to a string beginning with one of 
              the following sequences:
              "r"         open text file for reading
              "w"         create text file for writing, or truncate to zero 
                          length
              "a"         append; open text file or create for writing at eof
              "rb"        open binary file for reading
              "wb"        create binary file for writing, or truncate to 
                          zero length
              "ab"        append; open binary file or create for writing at 
                          eof
              "r+"        open text file for update (reading and writing)
              "w+"        create text file for update, or truncate to zero 
                          length
              "a+"        append; open text file or create for update, 
                          writing at eof
              "r+b"/"rb+" open binary file for update (reading and writing)
              "w+b"/"wb+" create binary file for update, or truncate to 
                          zero length
              "a+b"/"ab+" append; open binary file or create for update, 
                          writing at eof
             
              Opening a file with read mode ('r' as the first character in 
              the mode argument) fails if the file does not exist or cannot 
              be read.
              Opening a file with append mode ('a' as the first character in 
              the mode argument) causes all subsequent writes to be forced 
              to the current end of file, regardless of intervening calls to 
              the fseek function. In some implementations, opening a binary 
              file with append mode ('b' as the second or third character in 
              the mode argument) may initially position the file position 
              indicator beyond the last data written, because of the NUL 
              padding (but not under RISCOS/Arthur/Brazil).
              When a file is opened with update mode ('+' as the second or 
              third character in the mode argument), both input and output 
              may be performed on the associated stream. However, output may 
              not be directly followed by input without an intervening call 
              to the fflush fuction or to a file positioning function 
              (fseek, fsetpos, or rewind), and input be not be directly 
              followed by output without an intervening call to the fflush 
              fuction or to a file positioning function, unless the input 
              operation encounters end-of-file. Opening a file with update 
              mode may open or create a binary stream in some 
              implementations (but not under RISCOS/Arthur/Brazil). When 
              opened, a stream is fully buffered if and only if it does not 
              refer to an interactive device. The error and end-of-file
              indicators for the stream are cleared.
              
%freopen
Defined in:   stdio.h
Prototype:    extern FILE *freopen(const char * /*filename*/, 
                                   const char * /*mode*/,
                                   FILE * /*stream*/)
Summary:      opens the file whose name is the string pointed to by filename 
              and associates the stream pointed to by stream with it. The 
              mode argument is used just as in the fopen function.
              The freopen function first attempts to close any file that is 
              associated with the specified stream. Failure to close the 
              file successfully is ignored. The error and end-of-file 
              indicators for the stream are cleared.
              
%setbuf
Defined in:   stdio.h
Prototype:    extern void setbuf(FILE * /*stream*/, char * /*buf*/)
Summary:      Except that it returns no value, the setbuf function is 
              equivalent to the setvbuf function invoked with the values 
              _IOFBF for mode and BUFSIZ for size, or (if buf is a null 
              pointer), with the value _IONBF for mode.
              
%setvbuf
Defined in:   stdio.h
Prototype:    extern int setvbuf(FILE * /*stream*/, char * /*buf*/,
                                 int /*mode*/, size_t /*size*/)
Summary:      may be used after the stream pointed to by stream has been 
              associated with an open file but before it is read or written. 
              The argument mode determines how stream will be buffered, as 
              follows: _IOFBF causes input/output to be fully buffered; 
              _IOLBF causes output to be line buffered (the buffer will be 
              flushed when a new-line character is written, when the buffer 
              is full, or when input is requested); _IONBF causes 
              input/output to be completely unbuffered. If buf is not the 
              null pointer, the array it points to may be used instead of 
              an automatically allocated buffer (the buffer must have a 
              lifetime at least as great as the open stream, so the stream 
              should be closed before a buffer that has automatic storage 
              duration is deallocated upon block exit). The argument
              size specifies the size of the array. The contents of the 
              array at any time are indeterminate.
              
%fprintf
Defined in:   stdio.h
Prototype:    extern int fprintf(FILE * /*stream*/, 
                                 const char * /*format*/, ...)
Summary:      writes output to the stream pointed to by stream, under 
              control of the string pointed to by format that specifies how 
              subsequent arguments are converted for output. If there are 
              insufficient arguments for the format, the behaviour is 
              undefined. If the format is exhausted while arguments remain, 
              the excess arguments are evaluated but otherwise ignored. The
              fprintf function returns when the end of the format string is 
              reached.  The format shall be a multibyte character sequence, 
              beginning and ending in its initial shift state. The format is 
              composed of zero or more directives: ordinary multibyte 
              characters (not %), which are copied unchanged to the output 
              stream; and conversion specifiers, each of which results in 
              fetching zero or more subsequent arguments. Each conversion
              specification is introduced by the character %. For a 
              description of the available conversion specifiers refer to 
              section 4.9.6.1 in the ANSI draft mentioned at the start of 
              this file or to any modern textbook on C.
              The minimum value for the maximum number of characters 
              producable by any single conversion is at least 509.
              
%printf
Defined in:   stdio.h 
Prototype:    extern int printf(const char * /*format*/, ...) 
Summary:      is equivalent to fprintf with the argument stdout interposed 
              before the arguments to printf.
              
%sprintf
Defined in:   stdio.h
Prototype:    extern int sprintf(char * /*s*/, const char * /*format*/, ...)
Summary:      is equivalent to fprintf, except that the argument s specifies 
              an array into which the generated output is to be written, 
              rather than to a stream. A null character is written at the 
              end of the characters written; it is not counted as part of 
              the returned sum.
              
%fscanf
Defined in:   stdio.h
Prototype:    extern int fscanf(FILE * /*stream*/, 
                                const char * /*format*/, ...)
Summary:      reads input from the stream pointed to by stream, under 
              control of the string pointed to by format that specifies the 
              admissible input sequences and how thay are to be converted 
              for assignment, using subsequent arguments as pointers to the 
              objects to receive the converted input. If there are 
              insufficient arguments for the format, the behaviour is
              undefined. If the format is exhausted while arguments remain, 
              the excess arguments are evaluated but otherwise ignored.
              The format is composed of zero or more directives: one or more
              white-space characters; an ordinary character (not %); or a 
              conversion specification. Each conversion specification is 
              introduced by the character %. For a description of the 
              available conversion specifiers refer to section 4.9.6.2 in 
              the ANSI draft mentioned at the start of this file, or to any 
              modern textbook on C.
              If end-of-file is encountered during input, conversion is 
              terminated. If end-of-file occurs before any characters 
              matching the current directive have been read (other than 
              leading white space, where permitted), execution of the 
              current directive terminates with an input failure; otherwise, 
              unless execution of the current directive is terminated with a
              matching failure, execution of the following directive (if 
              any) is terminated with an input failure.
              If conversions terminates on a conflicting input character, 
              the offending input character is left unread in the input 
              stream. Trailing white space (including new-line characters) 
              is left unread unless matched by a directive. The success of 
              literal matches and suppressed asignments is not directly 
              determinable other than via the %n directive.
              
%scanf
Defined in:   stdio.h
Prototype:    extern int scanf(const char * /*format*/, ...)
Summary:      is equivalent to fscanf with the argument stdin interposed 
              before the arguments to scanf.
              
%sscanf
Defined in:   stdio.h
Prototype:    extern int sscanf(const char * /*s*/, 
                                const char * /*format*/, ...)
Summary:      is equivalent to fscanf except that the argument s specifies a 
              string from which the input is to be obtained, rather than 
              from a stream.
              Reaching the end of the string is equivalent to encountering 
              end-of-file for the fscanf function.
              
%vprintf
Defined in:   stdio.h
Prototype:    extern int vprintf(const char * /*format*/, __va_list /*arg*/)
Summary:      is equivalent to printf, with the variable argument list 
              replaced by arg, which has been initialised by the va_start 
              macro (and possibly subsequent va_arg calls). The vprintf 
              function does not invoke the va_end function.
              
%vfprintf
Defined in:   stdio.h
Prototype:    extern int vfprintf(FILE * /*stream*/,
                   const char * /*format*/, __va_list /*arg*/)
Summary:      is equivalent to fprintf, with the variable argument list 
              replaced by arg, which has been initialised by the va_start 
              macro (and possibly subsequent va_arg calls). The vfprintf 
              function does not invoke the va_end function.
              
%vsprintf
Defined in:   stdio.h
Prototype:    extern int vsprintf(char * /*s*/, const char * /*format*/, 
                                  __va_list /*arg*/)
Summary:      is equivalent to sprintf, with the variable argument list 
              replaced by arg, which has been initialised by the va_start 
              macro (and possibly subsequent va_arg calls). The vsprintf 
              function does not invoke the va_end function.
              
%fgetc
Defined in:   stdio.h
Prototype:    extern int fgetc(FILE * /*stream*/)
Summary:      obtains the next character (if present) as an unsigned char 
              converted to an int, from the input stream pointed to by 
              stream, and advances the associated file position indicator 
              (if defined).
              
%fgets
Defined in:   stdio.h
Prototype:    extern char *fgets(char * /*s*/, int /*n*/, FILE * /*stream*/)
Summary:      reads at most one less than the number of characters specified 
              by n from the stream pointed to by stream into the array 
              pointed to by s. No additional characters are read after a 
              new-line character (which is retained) or after end-of-file. 
              A null character is written immediately after the last 
              character read into the array.
              
%fputc
Defined in:   stdio.h
Prototype:    extern int fputc(int /*c*/, FILE * /*stream*/)
Summary:      writes the character specified by c (converted to an unsigned 
              char) to the output stream pointed to by stream, at the 
              position indicated by the asociated file position indicator 
              (if defined), and advances the indicator appropriately. If the 
              file position indicator is not defined, the character is 
              appended to the output stream.
              
%fputs
Defined in:   stdio.h
Prototype:    extern int fputs(const char * /*s*/, FILE * /*stream*/)
Summary:      writes the string pointed to by s to the stream pointed to by 
              stream.  The terminating null character is not written.
              
%getc
Defined in:   stdio.h
Prototype:    extern int (getc)(FILE * /*stream*/)
Summary:      is equivalent to fgetc except that it may be (and is under
              RISCOS/Arthur/Brazil) implemented as a macro. stream may be 
              evaluated more than once, so the argument should never be an 
              expression with side effects.
              
%getchar
Defined in:   stdio.h
Prototype:    extern int (getchar)(void)
Summary:      is equivalent to getc with the argument stdin.
              
%gets
Defined in:   stdio.h
Prototype:    extern char *gets(char * /*s*/)
Summary:      reads characters from the input stream pointed to by stdin 
              into the array pointed to by s, until end-of-file is 
              encountered or a new-line character is read. Any new-line 
              character is discarded, and a null character is written 
              immediately after the last character read into the array.
              
%putc
Defined in:   stdio.h
Prototype:    extern int (putc)(int /*c*/, FILE * /*stream*/)
Summary:      is equivalent to fputc except that it may be (and is under
              RISCOS/Arthur/Brazil) implemented as a macro. stream may be 
              evaluated more than once, so the argument should never be an 
              expression with side effects.
              
%putchar
Defined in:   stdio.h
Prototype:    extern int (putchar)(int /*c*/)
Summary:      is equivalent to putc with the second argument stdout.
              
%puts
Defined in:   stdio.h
Prototype:    extern int puts(const char * /*s*/)
Summary:      writes the string pointed to by s to the stream pointed to by 
              stdout, and appends a new-line character to the output. The 
              terminating null character is not written.
              
%ungetc
Defined in:   stdio.h
Prototype:    extern int ungetc(int /*c*/, FILE * /*stream*/)
Summary:      pushes the character specified by c (converted to an unsigned 
              char) back onto the input stream pointed to by stream. The 
              character will be returned by the next read on that stream. An 
              intervening call to the fflush function or to a file 
              positioning function (fseek, fsetpos, rewind) discards any 
              pushed-back characters. The external storage corresponding to 
              the stream is unchanged.
              One character pushback is guaranteed. If the unget function is 
              called too many times on the same stream without an 
              intervening read or file positioning operation on that stream, 
              the operation may fail.  If the value of c equals that of the 
              macro EOF, the operation fails and the input stream is 
              unchanged.  A successful call to the ungetc function clears 
              the end-of-file indicator. The value of the file position 
              indicator after reading or discarding all pushed-back 
              characters shall be the same as it was before the characters 
              were pushed back. For a text stream, the value of the file
              position indicator after a successful call to the ungetc 
              function is unspecified until all pushed-back characters are 
              read or discarded. For a binary stream, the file position 
              indicator is decremented by each successful call to the ungetc 
              function; if its value was zero before a call, it is 
              indeterminate after the call.
              
%fread
Defined in:   stdio.h
Prototype:    extern size_t fread(void * /*ptr*/,
                    size_t /*size*/, size_t /*nmemb*/, FILE * /*stream*/)
Summary:      reads into the array pointed to by ptr, up to nmemb members 
              whose size is specified by size, from the stream pointed to by 
              stream. The file position indicator (if defined) is advanced 
              by the number of characters successfully read. If an error 
              occurs, the resulting value of the file position indicator is 
              indeterminate. If a partial member is read, its value is 
              indeterminate. The ferror or feof function shall be used to
              distinguish between a read error and end-of-file.
              
%fwrite
Defined in:   stdio.h
Prototype:    extern size_t fwrite(const void * /*ptr*/,
                    size_t /*size*/, size_t /*nmemb*/, FILE * /*stream*/)
Summary:      writes, from the array pointed to by ptr up to nmemb members 
              whose size is specified by size, to the stream pointed to by 
              stream. The file position indicator (if defined) is advanced 
              by the number of characters successfully written. If an error 
              occurs, the resulting value of the file position indicator is 
              indeterminate.
              
%fgetpos
Defined in:   stdio.h
Prototype:    extern int fgetpos(FILE * /*stream*/, fpos_t * /*pos*/)
Summary:      stores the current value of the file position indicator for 
              the stream pointed to by stream in the object pointed to by 
              pos. The value stored contains unspecified information usable 
              by the fsetpos function for repositioning the stream to its 
              position at the time  of the call to the fgetpos function.
              
%fseek
Defined in:   stdio.h
Prototype:    extern int fseek(FILE * /*stream*/, long int /*offset*/, 
                               int /*whence*/)
Summary:      sets the file position indicator for the stream pointed to by 
              stream.  For a binary stream, the new position is at the 
              signed number of characters specified by offset away from the 
              point specified by whence.  The specified point is the 
              beginning of the file for SEEK_SET, the current position in 
              the file for SEEK_CUR, or end-of-file for SEEK_END.
              A binary stream need not meaningfully support fseek calls with 
              a whence value of SEEK_END.
              For a text stream, either offset shall be zero, or offset 
              shall be a value returned by an earlier call to the ftell 
              function on the same stream and whence shall be SEEK_SET.
              The fseek function clears the end-of-file indicator and undoes 
              any effects of the ungetc function on the same stream. After 
              an fseek call, the next operation on an update stream may be 
              either input or output.
              
%fsetpos
Defined in:   stdio.h
Prototype:    extern int fsetpos(FILE * /*stream*/, const fpos_t * /*pos*/)
Summary:      sets the file position indicator for the stream pointed to by 
              stream according to the value of the object pointed to by pos, 
              which shall be a value returned by an earlier call to the 
              fgetpos function on the same stream.
              The fsetpos function clears the end-of-file indicator and 
              undoes any effects of the ungetc function on the same stream. 
              After an fsetpos call, the next operation on an update stream 
              may be either input or output.
              
%ftell
Defined in:   stdio.h
Prototype:    extern long int ftell(FILE * /*stream*/)
Summary:      obtains the current value of the file position indicator for 
              the stream pointed to by stream. For a binary stream, the 
              value is the number of characters from the beginning of the 
              file. For a text stream, the file position indicator contains 
              unspecified information, usable by the fseek function for 
              returning the file position indicator to its position at the
              time of the ftell call; the difference between two such return 
              values is not necessarily a meaningful measure of the number 
              of characters written or read.
              
%fname
Defined in:   stdio.h
Prototype:    extern void rewind(FILE * /*stream*/)
Summary:      sets the file position indicator for the stream pointed to by 
              stream to the beginning of the file. It is equivalent to
              (void)fseek(stream, 0L, SEEK_SET) except that the error 
              indicator for the stream is also cleared.
              
%clearerr
Defined in:   stdio.h
Prototype:    extern void clearerr(FILE * /*stream*/)
Summary:      clears the end-of-file and error indicators for the stream 
              pointed to by stream. These indicators are cleared only when 
              the file is opened or by an explicit call to the clearerr 
              function or to the rewind function.
              
%feof
Defined in:   stdio.h
Prototype:    extern int (feof)(FILE * /*stream*/)
Summary:      tests the end-of-file indicator for the stream pointed to by 
              stream.
              
%ferror
Defined in:   stdio.h
Prototype:    extern int (ferror)(FILE * /*stream*/)
Summary:      tests the error indicator for the stream pointed to by stream.
              
%perror
Defined in:   stdio.h
Prototype:    extern void perror(const char * /*s*/)
Summary:      maps the error number  in the integer expression errno to an 
              error message. It writes a sequence of characters to the 
              standard error stream thus: first (if s is not a null pointer 
              and the character pointed to by s is not the null character), 
              the string pointed to by s followed by a colon and a space; 
              then an appropriate error message string followed by a 
              new-line character. The contents of the error message strings 
              are the same as those returned by the strerror function with 
              argument errno, which are implementation-defined.

%div_t
Defined in:   stdlib.h
Definition:   typedef struct div_t { int quot, rem; } div_t
Summary:      type of the value returned by the div function

%ldiv_t
Defined in:   stdlib.h
Definition:   typedef struct ldiv_t { long int quot, rem; } ldiv_t
Summary:      type of the value returned by the ldiv function

%EXIT_FAILURE
Defined in:   stdlib.h
Definition:   #define EXIT_FAILURE 1
Summary:      an integral expression which may be used as an argument to the 
              exit function to return unsuccessful termination status to the 
              host environment

%EXIT_SUCCESS
Defined in:   stdlib.h
Definition:   #define EXIT_SUCCESS 0
Summary:      an integral expression which may be used as an argument to the 
              exit function to return successful termination status to the 
              host environment.

%RAND_MAX
Defined in:   stdlib.h
Definition:   #define RAND_MAX 0x7fffffff
Summary:      an integral constant expression, the value of which is the 
              maximum value returned by the rand function.

%_ANSI_RAND_MAX
Defined in:   stdlib.h
Definition:   #define _ANSI_RAND_MAX 0x7fff
Summary:      an integral constant expression, the value of which is the 
              maximum value returned by the _ANSI_rand function.

%MB_CUR_MAX
Defined in:   stdlib.h
Definition:   #define MB_CUR_MAX 1
Summary:      a positive integer expression whose value is the maximum 
              number of bytes in a multibyte character for the extended 
              character set specified by the current locale (category 
              LC_CTYPE), and whose value is never greater than MB_LEN_MAX.

%atof
Defined in:   stdlib.h
Prototype:    extern double atof(const char * /*nptr*/)
Summary:      converts the initial part of the string pointed to by nptr to 
              double representation.

%atoi
Defined in:   stdlib.h
Prototype:    extern int atoi(const char * /*nptr*/)
Summary:      converts the initial part of the string pointed to by nptr to 
              int representation.

%atol
Defined in:   stdlib.h
Prototype:    extern long int atol(const char * /*nptr*/)
Summary:      converts the initial part of the string pointed to by nptr to 
              long int representation.

%strtod
Defined in:   stdlib.h
Prototype:    extern double strtod(const char * /*nptr*/, char ** /*endptr*/)
Summary:      converts the initial part of the string pointed to by nptr to 
              double representation. First it decomposes the input string 
              into three parts: an initial, possibly empty, sequence of 
              white-space characters (as specified by the isspace function), 
              a subject sequence resembling a floating point constant; and a 
              final string of one or more unrecognised characters, including 
              the terminating null character of the input string.
              Then it attempts to convert the subject sequence to a floating 
              point number, and returns the result. A pointer to the final 
              string is stored in the object pointed to by endptr, provided 
              that endptr is not a null pointer.

%strtol
Defined in:   stdlib.h
Prototype:    extern long int strtol(const char * /*nptr*/, 
                                     char **/*endptr*/, int /*base*/)
Summary:      converts the initial part of the string pointed to by nptr to 
              long int representation. First it decomposes the input string 
              into three parts: an initial, possibly empty, sequence of 
              white-space characters (as specified by the isspace function), 
              a subject sequence resembling an integer represented in some 
              radix determined by the value of base, and a final string of 
              one or more unrecognised characters, including the terminating 
              null character of the input string. Then it attempts to 
              convert the subject sequence to an integer, and returns the 
              result.
              If the value of base is 0, the expected form of the subject 
              sequence is that of an integer constant (described in ANSI 
              Draft, section 3.1.3.2), optionally preceeded by a '+' or '-' 
              sign, but not including an integer suffix. If the value of 
              base is between 2 and 36, the expected form of the subject 
              sequence is a sequence of letters and digits representing an
              integer with the radix specified by base, optionally preceeded 
              by a plus or minus sign, but not including an integer suffix. 
              The letters from a (or A) through z (or Z) are ascribed the 
              values 10 to 35; only letters whose ascribed values are less 
              than that of the base are permitted. If the value of base is 
              16, the characters 0x or 0X may optionally precede the 
              sequence of letters and digits following the sign if present.
              A pointer to the final string is stored in the object pointed 
              to by endptr, provided that endptr is not a null pointer.

%strtoul
Defined in:   stdlib.h
Prototype:    extern unsigned long int strtoul(const char * /*nptr*/,
                                       char ** /*endptr*/, int /*base*/)
Summary:      converts the initial part of the string pointed to by nptr to 
              unsigned long int representation. First it decomposes the 
              input string into three parts: an initial, possibly empty, 
              sequence of white-space characters (as determined by the 
              isspace function), a subject sequence resembling an unsigned 
              integer represented in some radix determined by the value of
              base, and a final string of one or more unrecognised 
              characters, including the terminating null character of the 
              input string. Then it attempts to convert the subject sequence 
              to an unsigned integer, and returns the result. If the value 
              of base is zero, the expected form of the subject sequence is 
              that of an integer constant (described in ANSI Draft, section 
              3.1.3.2), optionally preceeded by a '+' or '-' sign, but not 
              including an integer suffix. If the value of base is between 2 
              and 36, the expected form of the subject sequence is a 
              sequence of letters and digits representing an integer with 
              the radix specified by base, optionally preceeded by a '+' or 
              '-' sign, but not including an integer suffix. The letters 
              from a (or A) through z (or Z) stand for the values 10 to 35; 
              only letters whose ascribed values are less than that of the
              base are permitted. If the value of base is 16, the characters 
              0x or 0X may optionally precede the sequence of letters and 
              digits following the sign, if present. A pointer to the final 
              string is stored in the object pointed to by endptr, provided 
              that endptr is not a null pointer.

%rand
Defined in:   stdlib.h
Prototype:    extern int rand(void)
Summary:      Computes a sequence of pseudo-random integers in the range 0 
              to RAND_MAX.  Uses an additive generator (Mitchell & Moore) of 
              the form:
                Xn = (X[n-24] + X[n-55]) MOD 2^31
              This is described in section 3.2.2 of Knuth, vol 2. It's 
              period is in excess of 2^55 and its randomness properties, 
              though unproven, are conjectured to be good. Empirical testing 
              since 1958 has shown no flaws.

%srand
Defined in:   stdlib.h
Prototype:    extern void srand(unsigned int /*seed*/)
Summary:      uses its argument as a seed for a new sequence of 
              pseudo-random numbers to be returned by subsequent calls to 
              rand. If srand is then called with the same seed value, the 
              sequence of pseudo-random numbers is repeated.
              If rand is called before any calls to srand have been made, 
              the same sequence is generated as when srand is first called 
              with a seed value of 1.
    
%_ANSI_rand
Defined in:   stdlib.h
Prototype:    extern int _ANSI_rand(void)
Summary:      The ANSI-defined 16-bit random number generator which computes
              a sequence of pseudo-random integers in the range 0 to 
              _ANSI_RAND_MAX.
              Its properties are poor, though it IS very portable.
              *** NOT AVAILABLE IN THE SHARED C LIBRARY ***

%_ANSI_srand
Defined in:   stdlib.h
Prototype:    extern void _ANSI_srand(unsigned int /*seed*/)
Summary:      Uses its argument as a seed for a new sequence of 
              pseudo-random numbers to be returned by subsequent calls to 
              _ANSI_rand. If _ANSI_srand is then called with the same seed 
              value, the sequence of pseudo-random numbers is repeated. If 
              _ANSI_rand is called before any calls to _ANSI_srand have
              been made, the same sequence is generated as when _ANSI_srand 
              is first called with a seed value of 1.
              *** NOT AVAILABLE IN THE SHARED C LIBRARY ***
    
%calloc
Defined in:   stdlib.h
Prototype:    extern void *calloc(size_t /*nmemb*/, size_t /*size*/)
Summary:      allocates space for an array of nmemb objects, each of whose 
              size is 'size'. The space is initialised to all bits zero.

%free
Defined in:   stdlib.h
Prototype:    extern void free(void * /*ptr*/)
Summary:      causes the space pointed to by ptr to be deallocated (i.e., 
              made available for further allocation). If ptr is a null 
              pointer, no action occurs. Otherwise, if ptr does not match a 
              pointer earlier returned by calloc, malloc or realloc or if 
              the space has been deallocated by a call to free or realloc, 
              the behaviour is undefined.
    
%malloc
Defined in:   stdlib.h
Prototype:    extern void *malloc(size_t /*size*/)
Summary:      allocates space for an object whose size is specified by 
              'size' and whose value is indeterminate.

%realloc
Defined in:   stdlib.h
Prototype:    extern void *realloc(void * /*ptr*/, size_t /*size*/)
Summary:      changes the size of the object pointed to by ptr to the size 
              specified by size. The contents of the object shall be 
              unchanged up to the lesser of the new and old sizes. If the 
              new size is larger, the value of the newly allocated portion 
              of the object is indeterminate. If ptr is a null pointer, the 
              realloc function behaves like a call to malloc for the 
              specified size. Otherwise, if ptr does not match a pointer 
              earlier returned by calloc, malloc or realloc, or if the space 
              has been deallocated by a call to free or realloc, the 
              behaviour is undefined.
              If the space cannot be allocated, the object pointed to by ptr 
              is unchanged. If size is zero and ptr is not a null pointer, 
              the object it points to is freed.

%abort
Defined in:   stdlib.h
Prototype:    extern void abort(void)
Summary:      causes abnormal program termination to occur, unless the 
              signal SIGABRT is being caught and the signal handler does not 
              return. Whether open output streams are flushed or open 
              streams are closed or temporary files removed is 
              implementation-defined (under Arthur/Brazil all these occur).
              An implementation-defined form of the status 'unsuccessful 
              termination' (1 under Arthur/Brazil) is returned to the host 
              environment by means of a call to raise(SIGABRT).
    
%atexit
Defined in:   stdlib.h
Prototype:    extern int atexit(void (* /*func*/)(void))
Summary:      registers the function pointed to by func, to be called 
              without its arguments at normal program termination. It is 
              possible to register at least 32 functions.

%exit
Defined in:   stdlib.h
Prototype:    extern void exit(int /*status*/)
Summary:      causes normal program termination to occur. If more than one 
              call to the exit function is executed by a program, the 
              behaviour is undefined.
              First, all functions registered by the atexit function are 
              called, in the reverse order of their registration.
              Next, all open output streams are flushed, all open streams 
              are closed, and all files created by the tmpfile function are 
              removed.
              Finally, control is returned to the host environment. If the 
              value of status is zero or EXIT_SUCCESS, an 
              implementation-defined form of the status 'successful 
              termination' (0 under Arthur/Brazil) is returned. If the value 
              of status is EXIT_FAILURE, an implementation-defined form of
              the status 'unsuccessful termination' (1 under Arthur/Brazil) 
              is returned. Otherwise the status returned is 
              implementation-defined (the value of status is returned under 
              Arthur/Brazil).
    
%getenv
Defined in:   stdlib.h
Prototype:    extern char *getenv(const char * /*name*/)
Summary:      searches the environment list, provided by the host 
              environment, for a string that matches the string pointed to 
              by name. The set of environment names and the method for 
              altering the environment list are implementation-defined.

%system
Defined in:   stdlib.h
Prototype:    extern int  system(const char * /*string*/)
Summary:      passes the string pointed to by string to the host environment 
              to be executed by a command processor in an 
              implementation-defined manner.  A null pointer may be used for 
              string, to inquire whether a command processor exists.
             
              Under Arthur/Brazil care must be taken when executing a 
              command, that the command does not overwrite the calling 
              program. The string 'chain:' or 'call:' may immediately 
              precede the actual command. The effect of 'call:' is the same 
              as if 'call:' were not present, which is to attempt to return
              to the calling program. The effect of 'chain:' is to make no 
              attempt to return to the calling program, but an attempt is 
              made to call exit.
             

%bsearch
Defined in:   stdlib.h
Prototype:    extern void *bsearch(const void *key, const void * /*base*/,
                                   size_t /*nmemb*/, size_t /*size*/,
                                   int (* /*compar*/)(const void *, 
                                   const void *))
Summary:      searches an array of nmemb objects, the initial member of 
              which is pointed to by base, for a member that matches the 
              object pointed to by key. The size of each member of the array 
              is specified by size.  The contents of the array shall be in 
              ascending sorted order according to a comparison function 
              pointed to by compar, which is called with two arguments that 
              point to the key object and to an array member, in that order. 
              The function shall return an integer less than, equal to, or
              greater than zero if the key object is considered, 
              respectively, to be less than, to match, or to be greater than 
              the array member.

%qsort
Defined in:   stdlib.h
Prototype:    extern void qsort(void * /*base*/, size_t /*nmemb*/, 
                                size_t /*size*/,
                              int (* /*compar*/)(const void *, const void *))
Summary:      sorts an array of nmemb objects, the initial member of which 
              is pointed to by base. The size of each object is specified by 
              size.
              The contents of the array shall be in ascending order 
              according to a comparison function pointed to by compar, which 
              is called with two arguments that point to the objects being 
              compared. The function shall return an integer less than, 
              equal to, or greater than zero if the first argument is 
              considered to be respectively less than, equal to, or greater
              than the second. If two members compare as equal, their order 
              in the sorted array is unspecified.
    
%abs
Defined in:   stdlib.h
Prototype:    extern int abs(int /*j*/)
Summary:      computes the absolute value of an integer j. If the result 
              cannot be represented, the behaviour is undefined.

%div
Defined in:   stdlib.h
Prototype:    extern div_t div(int /*numer*/, int /*denom*/)
Summary:      computes the quotient and remainder of the division of the 
              numerator numer by the denominator denom. If the division is 
              inexact, the resulting quotient is the integer of lesser 
              magnitude that is the nearest to the algebraic quotient. If 
              the result cannot be represented, the behaviour is undefined; 
              otherwise, quot * demon + rem shall equal numer.

%labs
Defined in:   stdlib.h
Prototype:    extern long int labs(long int /*j*/)
Summary:      computes the absolute value of an long integer j. If the 
              result cannot be represented, the behaviour is undefined.

%ldiv
Defined in:   stdlib.h
Prototype:    extern ldiv_t ldiv(long int /*numer*/, long int /*denom*/)
Summary:      computes the quotient and remainder of the division of the 
              numerator numer by the denominator denom. If the division is 
              inexact, the sign of the resulting quotient is that of the 
              algebraic quotient, and the magnitude of the resulting 
              quotient is the largest integer less than the magnitude of the 
              algebraic quotient. If the result cannot be represented, the 
              behaviour is undefined; otherwise, quot * demon + rem shall 
              equal numer.

%mblen
Defined in:   stdlib.h
Prototype:    extern int mblen(const char * /*s*/, size_t /*n*/)
Summary:      If s is not a null pointer, the mblen function determines the 
              number of bytes compromising the multibyte character pointed 
              to by s. Except that the shift state of the mbtowc function is 
              not affected, it is equivalent to   mbtowc((wchar_t *)0, s, n);

%mbtowc
Defined in:   stdlib.h
Prototype:    extern int mbtowc(wchar_t * /*pwc*/, 
                                const char * /*s*/, size_t /*n*/)
Summary:      If s is not a null pointer, the mbtowc function determines the 
              number of bytes that compromise the multibyte character 
              pointed to by s. It then determines the code for value of type 
              wchar_t that corresponds to that multibyte character. (The 
              value of the code corresponding to the null character is zero).
              If the multibyte character is valid and pwc is not a null 
              pointer, the mbtowc function stores the code in the object 
              pointed to by pwc. At most n bytes of the array pointed to by 
              s will be examined.

%wctomb
Defined in:   stdlib.h
Prototype:    extern int wctomb(char * /*s*/, wchar_t /*wchar*/)
Summary:      determines the number of bytes need to represent the multibyte 
              character corresponding to the code whose value is wchar 
              (including any change in shift state). It stores the multibyte 
              character representation in the array object pointed to by s 
              (if s is not a null pointer). At most MB_CUR_MAX characters 
              are stored. If the value of wchar is zero, the wctomb function 
              is left in the initial shift state).

%mbstowcs
Defined in:   stdlib.h
Prototype:    extern size_t mbstowcs(wchar_t * /*pwcs*/, 
                                     const char * /*s*/, size_t /*n*/)
Summary:      converts a sequence of multibyte character that begins in the 
              initial shift state from the array pointed to by s into a 
              sequence of corresponding codes and stores not more than n 
              codes into the array pointed to by pwcs. No multibyte 
              character that follow a null character (which is converted 
              into a code with value zero) will be examined or converted. 
              Each multibyte character is converted as if by a call to 
              mbtowc function, except that the shift state of the mbtowc 
              function is not affected. No more than n elements will be 
              modified in the array pointed to by pwcs. If copying takes 
              place between objects that overlap, the behaviour is 
              undefined.

%wcstombs
Defined in:   stdlib.h
Prototype:    extern size_t wcstombs(char * /*s*/, 
                                     const wchar_t * /*pwcs*/, size_t /*n*/)
Summary:      converts a sequence of codes that correspond to multibyte 
              characters from the array pointed to by pwcs into a sequence 
              of multibyte characters that begins in the initial shift state 
              and stores these multibyte characters into the array pointed 
              to by s, stopping if a multibyte character would exceed the 
              limit of n total bytes or if a null character is stored. Each 
              code is converted as if by a call to the wctomb function, 
              except that the shift state of the wctomb function is not 
              affected. No more than n elements will be modified in the 
              array pointed to by s. If copying takes place between objects 
              that overlap, the behaviour is undefined. 

%memcpy
Defined in:   string.h
Prototype:    extern void *memcpy(void * /*s1*/, const void * /*s2*/, 
                                  size_t /*n*/)
Summary:      copies n characters from the object pointed to by s2 into the 
              object pointed to by s1. If copying takes place between 
              objects that overlap, the behaviour is undefined.

%memmove
Defined in:   string.h
Prototype:    extern void *memmove(void * /*s1*/, const void * /*s2*/, 
                                   size_t /*n*/)
Summary:      copies n characters from the object pointed to by s2 into the 
              object pointed to by s1. Copying takes place as if the n 
              characters from the object pointed to by s2 are first copied 
              into a temporary array of n characters that does not overlap 
              the objects pointed to by s1 and s2, and then the n characters 
              from the temporary array are copied into the object pointed to 
              by s1.

%strcpy
Defined in:   string.h
Prototype:    extern char *strcpy(char * /*s1*/, const char * /*s2*/)
Summary:      copies the string pointed to by s2 (including the terminating 
              nul character) into the array pointed to by s1. If copying 
              takes place between objects that overlap, the behaviour is 
              undefined.

%strncpy
Defined in:   string.h
Prototype:    extern char *strncpy(char * /*s1*/, const char * /*s2*/, 
                                   size_t /*n*/)
Summary:      copies not more than n characters (characters that follow a 
              null character are not copied) from the array pointed to by 
              s2 into the array pointed to by s1. If copying takes place 
              between objects that overlap, the behaviour is undefined.

%strcat
Defined in:   string.h
Prototype:    extern char *strcat(char * /*s1*/, const char * /*s2*/)
Summary:      appends a copy of the string pointed to by s2 (including the 
              terminating null character) to the end of the string pointed 
              to by s1. The initial character of s2 overwrites the null 
              character at the end of s1.

%strncat
Defined in:   string.h
Prototype:    extern char *strncat(char * /*s1*/, const char * /*s2*/, 
                                   size_t /*n*/)
Summary:      appends not more than n characters (a null character and 
              characters that follow it are not appended) from the array 
              pointed to by s2 to the end of the string pointed to by s1. 
              The initial character of s2 overwrites the null character at 
              the end of s1. A terminating null character is always appended 
              to the result.

%memcmp
Defined in:   string.h
Prototype:    extern int memcmp(const void * /*s1*/, 
                                const void * /*s2*/, size_t /*n*/)
Summary:      compares the first n characters of the object pointed to by s1 
              to the first n characters of the object pointed to by s2.

%strcmp
Defined in:   string.h
Prototype:    extern int strcmp(const char * /*s1*/, const char * /*s2*/)
Summary:      compares the string pointed to by s1 to the string pointed to 
              by s2.

%strncmp
Defined in:   string.h
Prototype:    extern int strncmp(const char * /*s1*/, const char * /*s2*/, 
                                 size_t /*n*/)
Summary:      compares not more than n characters (characters that follow a 
              null character are not compared) from the array pointed to by 
              s1 to the array pointed to by s2.

%strcoll
Defined in:   string.h
Prototype:    extern int strcoll(const char * /*s1*/, const char * /*s2*/)
Summary:      compares the string pointed to by s1 to the string pointed to 
              by s2, both interpreted as appropriate to the LC_COLLATE 
              category of the current locale.

%strxfrm
Defined in:   string.h
Prototype:    extern size_t strxfrm(char * /*s1*/, const char * /*s2*/, 
                                    size_t /*n*/)
Summary:      transforms the string pointed to by s2 and places the 
              resulting string into the array pointed to by s1. The 
              transformation function is such that if the strcmp function is 
              applied to two transformed strings, it returns a value greater 
              than, equal to or less than zero, corresponding to the result 
              of the strcoll function applied to the same two original 
              strings.  No more than n characters are placed into the 
              resulting array pointed to by s1, including the terminating 
              null character. If n is zero, s1 is permitted to be a null 
              pointer. If copying takes place between objects that overlap, 
              the behaviour is undefined.

%memchr
Defined in:   string.h
Prototype:    extern void *memchr(const void * /*s*/, int /*c*/, 
                                  size_t /*n*/)
Summary:      locates the first occurence of c (converted to an unsigned 
              char) in the initial n characters (each interpreted as 
              unsigned char) of the object pointed to by s.

%strchr
Defined in:   string.h
Prototype:    extern char *strchr(const char * /*s*/, int /*c*/)
Summary:      locates the first occurence of c (converted to an char) in 
              the string pointed to by s (including the terminating null 
              character).

%strcspn
Defined in:   string.h
Prototype:    extern size_t strcspn(const char * /*s1*/, const char * /*s2*/)
Summary:      computes the length of the initial segment of the string 
              pointed to by s1 which consists entirely of characters not 
              from the string pointed to by s2. The terminating null 
              character is not considered part of s2.

%strpbrk
Defined in:   string.h
Prototype:    extern char *strpbrk(const char * /*s1*/, const char * /*s2*/)
Summary:      locates the first occurence in the string pointed to by s1 of 
              any character from the string pointed to by s2.

%strrchr
Defined in:   string.h
Prototype:    extern char *strrchr(const char * /*s*/, int /*c*/)
Summary:      locates the last occurence of c (converted to a char) in the 
              string pointed to by s. The terminating null character is 
              considered part of the string.

%strspn
Defined in:   string.h
Prototype:    extern size_t strspn(const char * /*s1*/, const char * /*s2*/)
Summary:      computes the length of the initial segment of the string 
              pointed to by s1 which consists entirely of characters from 
              the string pointed to by S2

%strstr
Defined in:   string.h
Prototype:    extern char *strstr(const char * /*s1*/, const char * /*s2*/)
Summary:      locates the first occurence in the string pointed to by s1 of 
              the sequence of characters (excluding the terminating null 
              character) in the string pointed to by s2.

%strtok
Defined in:   string.h
Prototype:    extern char *strtok(char * /*s1*/, const char * /*s2*/)
Summary:      A sequence of calls to the strtok function breaks the string 
              pointed to by s1 into a sequence of tokens, each of which is 
              delimited by a character from the string pointed to by s2. 
              The first call in the sequence has s1 as its first argument, 
              and is followed by calls with a null pointer as their first 
              argument. The separator string pointed to by s2 may be 
              different from call to call.
              The first call in the sequence searches for the first 
              character that is not contained in the current separator 
              string s2. If no such character is found, then there are no 
              tokens in s1 and the strtok function returns a null pointer. 
              If such a character is found, it is the start of the first 
              token.  The strtok function then searches from there for a 
              character that is contained in the current separator string. 
              If no such character is found, the current token extends to 
              the end of the string pointed to by s1, and subsequent 
              searches for a token will fail. If such a character is found,
              it is overwritten by a null character, which terminates the 
              current token. The strtok function saves a pointer to the 
              following character, from which the next search for a token 
              will start.
              Each subsequent call, with a null pointer as the value for the 
              first argument, starts searching from the saved pointer and 
              behaves as described above.

%memset
Defined in:   string.h
Prototype:    extern void *memset(void * /*s*/, int /*c*/, size_t /*n*/)
Summary:      copies the value of c (converted to an unsigned char) into 
              each of the first n charactes of the object pointed to by s.

%strerror
Defined in:   string.h
Prototype:    extern char *strerror(int /*errnum*/)
Summary:      maps the error number in errnum to an error message string.

%strlen
Defined in:   string.h
Prototype:    extern size_t strlen(const char * /*s*/)
Summary:      computes the length of the string pointed to by s.

%CLOCKS_PER_SEC
Defined in:   time.h
Definition:   #define CLOCKS_PER_SEC  100
Summary:      real time clock ticks per second (centi-second timer on 
              Archimedes)

%clock_t
Defined in:   time.h
Definition:   typedef unsigned int clock_t
Summary:      cpu time type - in centisecs on Archimedes

%time_t
Defined in:   time.h
Definition:   typedef unsigned int time_t
Summary:      date/time in unix secs past 1-Jan-70

%clock
Defined in:   time.h
Prototype:    extern clock_t clock(void)
Summary:      determines the processor time used.

%difftime
Defined in:   time.h
Prototype:    extern double difftime(time_t /*time1*/, time_t /*time0*/)
Summary:      computes the difference between two calendar 
              times: time1 - time0.

%mktime
Defined in:   time.h
Prototype:    extern time_t mktime(struct tm * /*timeptr*/)
Summary:      converts the broken-down time, expressed as local time, in the 
              structure pointed to by timeptr into a calendar time value 
              with the same encoding as that of the values returned by the 
              time function. The original values of the tm_wday and tm_yday 
              components of the structure are ignored, and the original 
              values of the other components are not restricted to the
              ranges indicated above. On successful completion, the values 
              of the tm_wday and tm_yday structure components are set 
              appropriately, and the other components are set to represent 
              the specified calendar time, but with their values forced to 
              the ranges indicated above; the final value of tm_mday is not 
              set until tm_mon and tm_year are determined.

%time
Defined in:   time.h
Prototype:    extern time_t time(time_t * /*timer*/)
Summary:      determines the current calendar time. The encoding of the 
              value is unspecified.

%asctime
Defined in:   time.h
Prototype:    extern char *asctime(const struct tm * /*timeptr*/)
Summary:      converts the broken-down time in the structure pointed to by 
              timeptr into a string in the form Sun Sep 16 01:03:52 1973\n\0.

%ctime
Defined in:   time.h
Prototype:    extern char *ctime(const time_t * /*timer*/)
Summary:      converts the calendar time pointed to by timer to local time 
              in the form of a string. It is equivalent to 
              asctime(localtime(timer));

%gmtime
Defined in:   time.h
Prototype:    extern struct tm *gmtime(const time_t * /*timer*/)
Summary:      converts the calendar time pointed to by timer into a 
              broken-down time, expressed as Greenwich Mean Time (GMT).

%localtime
Defined in:   time.h
Prototype:    extern struct tm *localtime(const time_t * /*timer*/)
Summary:      converts the calendar time pointed to by timer into a 
              broken-down time, expressed a local time.

%strftime
Defined in:   time.h
Prototype:    extern size_t strftime(char * /*s*/, size_t /*maxsize*/,
                                     const char * /*format*/, 
                                     const struct tm * /*timeptr*/)
Summary:      places characters into the array pointed to by s as controlled 
              by the string pointed to by format. The format string consists 
              of zero or more directives and ordinary characters. A 
              directive consists of a % character followed by a character 
              that determines the directive's behaviour. All ordinary 
              characters (including the terminating null character) are 
              copied unchanged into the array. No more than maxsize 
              characters are placed into the array. Each directive is 
              replaced by appropriate characters  as described in the 
              following list. The appropriate characters are determined by 
              the LC_TIME category of the current locale and by the values 
              contained in the structure pointed to by timeptr.
              %a is replaced by the locale's abbreviated weekday name.
              %A is replaced by the locale's full weekday name.
              %b is replaced by the locale's abbreviated month name.
              %B is replaced by the locale's full month name.
              %c is replaced by the locale's appropriate date and time 
                 representation.
              %d is replaced by the day of the month as a decimal number 
                 (01-31).
              %H is replaced by the hour (24-hour clock) as a decimal number 
                 (00-23).
              %I is replaced by the hour (12-hour clock) as a decimal number 
                 (01-12).
              %j is replaced by the day of the year as a decimal number 
                 (001-366).
              %m is replaced by the month as a decimal number (01-12).
              %M is replaced by the minute as a decimal number (00-59).
              %p is replaced by the locale's equivalent of either AM or PM 
                 designations associated with a 12-hour clock.
              %S is replaced by the second as a decimal number (00-61).
              %U is replaced by the week number of the year (Sunday as the 
                 first day of week 1) as a decimal number (00-53).
              %w is replaced by the weekday as a decimal number 
                 (0(Sunday) - 6).
              %W is replaced by the week number of the year (Monday as the 
                 first day of week 1) as a decimal number (00-53).
              %x is replaced by the locale's appropriate date representation.
              %X is replaced by the locale's appropriate time representation.
              %y is replaced by the year without century as a decimal number 
                 (00-99).
              %Y is replaced by the year with century as a decimal number.
              %Z is replaced by the timezone name or abbreviation, or by no 
                 characters if no time zone is determinable.
              %% is replaced by %.
              If a directive is not one of the above, the behaviour is 
              undefined.
              
